<template>
  <div class="home">
    activity
    <!-- <div id="spa-vue" class="single-spa-vue"></div> -->
    <div id="vue" class="single-spa-vue"></div>
    <router-view />
  </div>
</template>

<script>
// @ is an alias to /src

import { getSpaStore } from 'xu-rabin-event'
export default {
  name: 'Home',
  components: {
    // HelloWorld,
  },
  data() {
    return {
      emitData: '测试数据',
    }
  },
  created() {
    console.log('----------')
  },
  mounted() {
    getSpaStore().emit('spa-activity:spa-activity-render')
  },
  methods: {
    open(dialogName, title) {
      this.title = title
    },
  },
}
</script>
